package http_utils

import (
	"github.com/gin-gonic/gin"
	"simple-app/lib/jwt"
)

// GetCurrentUser 获取当前用户信息
func GetCurrentUser(c *gin.Context) *jwt.CustomClaims {
	v := c.Value("claims").(*jwt.CustomClaims)
	return v
}
